﻿//------------------------------------------------------------------------------
// 创建标识: Copyright (C) 2011 Socansoft.com 版权所有
// 创建描述: SocanCode代码生成器自动创建于 2011-4-9 13:21:02
//
// 功能描述: 
//
// 修改标识: 
// 修改描述: 
//------------------------------------------------------------------------------

using System;

namespace Sale_Model
{
    /// <summary>
    /// 实体类 SaleBill
    /// </summary>
    public class SaleBill
    {
        public SaleBill()
        { }
        #region Model
        private int _sbill_id;
        private string _sbill_code;
        private string _sbill_code2;
        private int _sbill_cust_id;
        private decimal _sbill_taxmoney;
        private decimal _sbill_money;
        private decimal _sbill_realmoney;
        private int _sbill_paytype;
        private int _sbill_alist_id;
        private DateTime _sbill_date;
        private int _sbill_user;
        private int _sbill_type;
        private int _sbill_state;
        private int _sbill_arecoid;
        private string _sbill_remark;
        private int _state;
        private DateTime _createtime;
        private int _createman;
        /// <summary>
        /// 
        /// </summary>
        public int SBill_Id
        {
            set { _sbill_id = value; }
            get { return _sbill_id; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string SBill_Code
        {
            set { _sbill_code = value; }
            get { return _sbill_code; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string SBill_Code2
        {
            set { _sbill_code2 = value; }
            get { return _sbill_code2; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int SBill_Cust_Id
        {
            set { _sbill_cust_id = value; }
            get { return _sbill_cust_id; }
        }
        /// <summary>
        /// 
        /// </summary>
        public decimal SBill_TaxMoney
        {
            set { _sbill_taxmoney = value; }
            get { return _sbill_taxmoney; }
        }
        /// <summary>
        /// 
        /// </summary>
        public decimal SBill_Money
        {
            set { _sbill_money = value; }
            get { return _sbill_money; }
        }
        /// <summary>
        /// 
        /// </summary>
        public decimal SBill_RealMoney
        {
            set { _sbill_realmoney = value; }
            get { return _sbill_realmoney; }
        }
        /// <summary>
        /// 1：现金 2： 刷卡
        /// </summary>
        public int SBill_PayType
        {
            set { _sbill_paytype = value; }
            get { return _sbill_paytype; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int SBill_AList_Id
        {
            set { _sbill_alist_id = value; }
            get { return _sbill_alist_id; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime SBill_Date
        {
            set { _sbill_date = value; }
            get { return _sbill_date; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int SBill_User
        {
            set { _sbill_user = value; }
            get { return _sbill_user; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int SBill_Type
        {
            set { _sbill_type = value; }
            get { return _sbill_type; }
        }
        /// <summary>
        /// 0:未结算 1:已结算，一旦结算，不能删除，只能作废，作废相当于退货
        /// </summary>
        public int SBill_State
        {
            set { _sbill_state = value; }
            get { return _sbill_state; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int SBill_ARecoId
        {
            set { _sbill_arecoid = value; }
            get { return _sbill_arecoid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string SBill_Remark
        {
            set { _sbill_remark = value; }
            get { return _sbill_remark; }
        }
        /// <summary>
        /// 0:已删除  1：正常 3：作废，作废即退货，可能是部分退货
        /// </summary>
        public int State
        {
            set { _state = value; }
            get { return _state; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime CreateTime
        {
            set { _createtime = value; }
            get { return _createtime; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int CreateMan
        {
            set { _createman = value; }
            get { return _createman; }
        }
        #endregion Model
    }
}
